package com.zjitc.service;

import com.zjitc.model.*;

import java.util.List;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/6/4 13:33
 * @description:
 */
public interface AdminService {

    AdminUser findAdmin(String username);

    List<User> finduserList();

  List<Category> findCatefory();

  List<CategorySecond> findCateforySecond();

  void addcategory(Integer cid, String cname);

  void addcategorySecond(Integer csid, String csname, Integer cid);

  void deleteCategory();

  void deletecategorySecond();

    void deleteById(String username);

    List<Product> findPid();

    void adminDeleteByPid(Integer pid);
}
